java how to program exercise 2.32